<template>
  <div id="Home">
    <div id="div1">
      <!-- 导航栏 -->
      <NavigationBar id="navigationBar"></NavigationBar>
      <!-- 试图 -->
      <div class="box">
          <router-view id="rview"></router-view>
      </div>
      <!-- 底部 -->
      <Bottom id="bottom"></Bottom>
    </div>
  </div>
</template>

<script>
// 引入导航栏组件
import NavigationBar from '../components/homeView/NavigationBar.vue'
// 引入底部组件
import Bottom from '../components/homeView/Bottom.vue'
export default {
  name: 'HomeView',
  // 使用组件 
  components: {
    NavigationBar,
    Bottom
  }
}
</script>
<style scoped>
    #Home{
      width: 100%;
      height: 100%;
      position: relative;
      z-index: 1000;
      background-color: rgb(246, 246, 246); 
    }
    #customer{
      position: fixed;
      bottom: 16%;
      right:4%;
      z-index: 1000;
    }
    #div1{
        width: 1200px;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        width: 100%;
        background-color: rgb(246, 246, 246);
    }
    #navigationBar{
      /* position: fixed; */
      top: 0;
      left: 0;
      right: 0;
      flex: 100%;
      height: 60px;
      z-index: 1000;
    }
    #bottom{
      flex: 100%;
      width: 100%;
      height: 100px;
    }
    #rview {
      flex: 100%;
    }
    .box{
        width: 1200px;
        height: 100%;
        margin: 0 auto;
        /* background-color: rgb(217, 217, 217);  */
    }
</style>
